
.approve-wrap{
  box-shadow: 0 -3px 10px rgba(125,126,128,16%);
  background: #ffffff;
  padding: 20rpx 16rpx;
  .header{
    padding-bottom: 20rpx;
  }
  .main{
    .li-wrap{
      margin-bottom: 20rpx;
      &.default{
        .li-title{
          .icon-chaosong,.icon-chuizi{
            background: #0251FF;
          }
        }
      }
      &.danger{
        .li-title{
          .icon-chaosong,.icon-chuizi{
            background: #f31f00;
          }
        }
      }
      .li-title{
        display: flex;
        margin-bottom: 10rpx;
        .icon-chaosong,.icon-chuizi{
          color: #ffffff;
          background: #bfc6d0;
          width: 40rpx;
          height: 40rpx;
          border-radius: 50%;
          text-align: center;
          line-height: 40rpx;
          margin-right: 20rpx;
          font-size: 20rpx;
        }
        /*.icon-chuizi{
          width: 40rpx;
          height: 40rpx;
          color: #bfc6d0;
          text-align: center;
          line-height: 40rpx;
          font-size: 46rpx;
          margin-right: 20rpx;

        }*/
        .icon-prev_m{
          transform: rotate(-270deg);
          &.close{
            transform: rotate(-90deg);
          }
        }
        &.required:after{
          content: '*';
          color: #ff0000;
        }
      }
      .li-content{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 60rpx;
        position: relative;
        .line{
          position: absolute;
          height: 100%;
          width: 1px;
          background: #bfc6d0;
          left: 20rpx;
        }
        & > view:not(.line) + view:not(.line){
          margin-left: 10rpx;
        }
      }
    }

  }

  .approve-content{
    .apr-wrap{
      .apr-title{
        font-size: 28rpx;
        padding: 10rpx;
        color: #656565;
        display: flex;
        justify-content: space-between;
      }
      .apr-content{

      }
    }
    .li-wrap{
      .li-title{
        &:after{
          content: none;
        }
      }
      .li-content{
        & > view:not(.line) + view:not(.line){
          margin-left: 0;
        }
        .approve-item{
          width: 100%;
        }
        .apr-item{
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          .user-wrap{
            background: #ffffff;
          }
          .apr-text{
            //color: #bebebe;
          }
        }
        .sign-wrap{
          color: #bebebe;
          display: flex;
           & > text{
             flex-shrink: 0;
           }
          .img{
            height: 120rpx;
          }
        }
        .comment-wrap{
          background: #efefef;
          padding: 10rpx;
          color: #0049e9;
        }
        .apr-bot{
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: #a4a4a4;
        }
      }
    }
  }
}

.approve-input{
  position: sticky;
  bottom: 0;
  padding: 20rpx;
  background: #F2F3F5;
  z-index: 99;
  & > input{
    width: 100%;
    height: 80rpx;
    border: 1px solid #BBBBBB;
    border-radius: 6rpx;
    background: #ffffff;
    padding: 0 10rpx;
    box-sizing: border-box;
    margin-bottom: 20rpx;
  }
  .btn-wrap{
    display: flex;
    & > view{
      width: 50%;
      text-align: center;
      border-radius: 6rpx;
      background: #ffffff;
      height: 80rpx;
      line-height: 80rpx;
      border: 1px solid #BBBBBB;
    }
    .reject-btn{
      color: #ff0000;
    }
    .agree-btn{
      margin-left: 10rpx;
      color: #0251FF;
    }
  }
  .submit-btn{
    width: 100%;
    color: #ffffff;
    background: #2882FE;
    -webkit-border-radius: 10rpx;
    -moz-border-radius: 10rpx;
    border-radius: 10rpx;
    text-align: center;
    height: 86rpx;
    line-height: 86rpx;
  }

  .btn-wrap2{

    display: flex;
    .btn{
      width: 100%;
      -webkit-border-radius: 10rpx;
      -moz-border-radius: 10rpx;
      border-radius: 10rpx;
      text-align: center;
      height: 86rpx;
      line-height: 86rpx;
      color: #ffffff;
      & + .btn{
        margin-left: 20rpx;
      }
      &.btn-white{
        color: #333;
        background: #ffffff;
        border: 1px solid #BBBBBB;
      }
      &.btn-blue{
        background: #2882FE;
        &:active{
          background: #2876ec;
        }
      }
      &.btn-grey{
        background: #b0b0b0;
        &:active{
          background: #979797;
        }
      }
      &.btn-green{
        background: #01C257;
        &:active{
          background: #01ad51;
        }
      }
    }
  }
}

.next-approval{
  background: #fff;
  padding: 10rpx;
  margin-bottom: 16rpx;
  .next-user-wrap{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    .user-wrap{
      margin-right: 6rpx;
    }
  }
}
.user-wrap{
  display: flex;
  align-items: center;
  background: #f2f4f3;
  border-radius: 5rpx;
  width: fit-content;
  padding: 6rpx;
  height: 60rpx;
  box-sizing: border-box;
  margin: 6rpx 0;
  position: relative;
  .user-photo{
    background: #9A9A9A;
    font-size:30rpx;
    height: 100%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50rpx;
    border-radius: 4rpx;
    margin-right: 6rpx;
    position: relative;
  }
  .user-name{

  }
  .user-del{

  }

  &.default{
    .user-photo{
      &:after{
        content: '\2714';
        width: 20rpx;
        height: 20rpx;
        border-radius: 50%;
        background: #0251FF;
        position: absolute;
        top: -10rpx;
        right: -10rpx;
        font-size: 10rpx;
        text-align: center;
        line-height: 20rpx;
        color: #ffffff;
      }
    }
  }
  &.danger{
    .user-photo{
      &:after{
        content: '\2551';
        width: 20rpx;
        height: 20rpx;
        border-radius: 50%;
        background: #f31f00;
        position: absolute;
        top: -10rpx;
        right: -10rpx;
        font-size: 10rpx;
        text-align: center;
        line-height: 20rpx;
        color: #ffffff;
      }
    }
  }
}
.user-add{
  height: 60rpx;
  display: flex;
  width: 60rpx;
  justify-content: center;
  align-items: center;
  background: #ebf1fd;
  border-radius: 5rpx;
  color: #4095E5;
}

.apr-bot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a4a4a4;
}


.input-modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: 500;
  .input-wrap{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding-bottom: 32rpx;
    .input-title{
      padding: 10rpx 20rpx;
    }
    .input-section {
      display: flex;
      align-items: center;
      height: 110rpx;
      width: 100%;
      padding: 0 20rpx 20rpx;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      .input_input {
        flex: 1;
        margin-right: 12rpx;
        width: 0;
        height: 100rpx;
        padding-left: 35rpx;
        background: #efefef;
        -webkit-border-radius: 55rpx;
        -moz-border-radius: 55rpx;
        border-radius: 55rpx;
      }
      .send_button{
        background: #2d6ff7;
        color: #FFF;
      }
    }
  }
}
//评论弹出层
.comment-list-wrap{
  display: flex;
  flex-direction: column;
  height: 100%;
  .comment-list-title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 96rpx;
    font-size: 32rpx;
  }
  .comment-list-content{
    flex: 1;
    overflow: auto;
    height: 0;
  }
  .comment-li{
    padding: 20rpx;
    .user-wrap{
      background: #fff;
    }
    .apr-bot{
      padding-left: 60rpx;
    }
  }
}

.hidden{
  display: none !important;
}
